package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.List;

import com.alibaba.fastjson2.JSON;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotNull;

/**
 * 凭证模板明细对象 fxy_financial_voucher_template_details
 * 
 * @author ruoyi
 * @date 2025-01-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FxyFinancialVoucherTemplateDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long voucherTemplateId;

    /** 摘要 */
    @Excel(name = "摘要")
    @NotNull(message = "摘要不能为空")
    private String summary;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long subjectId;

    /** 科目名称 */
    @Excel(name = "科目名称")
    @NotNull(message = "科目名称不能为空")
    private String subjectName;

    /** 借方金额 */
    @Excel(name = "借方金额")
    @NotNull(message = "借方金额不能为空")
    private BigDecimal debitAmount;

    /** 贷方金额 */
    @Excel(name = "贷方金额")
    @NotNull(message = "贷方金额不能为空")
    private BigDecimal creditAmount;

    /** $column.columnComment */

    private Long accountSetsId;

    /** $column.columnComment */

    private String subjectCode;

    /** $column.columnComment */

    private String auxiliaryTitle;

    /** 科目信息 */
    private List<FxyFinancialSubject> fxyFinancialSubjectList;
    private Integer voucherId;



}
